Home
last modified time | relevance | path

Searched hist:ab2e83ead4eca9e045daac4cbf66eb1e7a244bb2 (Results 1 – 1 of 1) sorted by relevance

/linux/mm/
H A Dnommu.cdiff ab2e83ead4eca9e045daac4cbf66eb1e7a244bb2 Thu Jan 08 13:04:48 CET 2009 Paul Mundt <lethal@linux-sh.org> NOMMU: Teach kobjsize() about VMA regions.

Now that we no longer use compound pages for all large allocations,
kobjsize() actively breaks things like binfmt_flat by always handing
back PAGE_SIZE for mmap'ed regions. Fix this up by looking up the
VMA region for non-compounds.

Ideally binfmt_flat wants to get rid of kobjsize() completely, but
this is an incremental step.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Mike Frysinger <vapier.adi@gmail.com>